package se.sll.service.catalogue.composite.data;

import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import lombok.Data;
import lombok.NonNull;

/**
 * Class rep
 * @author Jiri Uosukainen
 */
@Data
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class UnitId implements Serializable{
    
    static final long serialVersionUID = 1L;
    
    @XmlElement(name="unitId")
    private String unitId;

    public UnitId() {
    }
    
    public UnitId(@NonNull String unitId) {
        this.unitId = unitId;
    }
}
